<%-- 
    Document   : delect_update
    Created on : 2024-6-1, 16:55:09
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        delete from student where
        update student set
        <div>
        <form action="alter.jsp" method="post">
            <table align="center" border="1">
             <tr><td>学号：</td>       
             <td><input type="text" name="sno"  /></td></tr>
             <tr><td>姓名：</td>       
             <td><input type="text" name="sname"/></td></tr>
             <tr><td>性别：</td>       
             <td><input type="text" name="sex"  /></td></tr>
             <tr><td>宿舍号：</td>       
             <td><input type="text" name="dno"  /></td></tr>
             <tr ><td colspan="2" align="center"><input type="submit" value="修改信息"/></td></tr>
            </table>
            </form>
            <br>
            <form action="delect.jsp" method="post">
            <table align="center" border="1">
             <tr><td>学号：</td>       
             <td><input type="text" name="sno"  /></td></tr>
             <tr ><td colspan="2" align="center"><input type="submit" value="删除"/></td></tr>
            </table>
            </form>
        
        </div>
        
    </body>
</html>
